import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import { get, post } from './http'

Vue.config.productionTip = false

// 使用 Element UI
Vue.use(ElementUI)

// 全局挂载 Axios 方法
Vue.prototype.$get = get
Vue.prototype.$post = post

new Vue({
  router,
  render: h => h(App)
}).$mount('#app') 